package com.longchat.domain.upload;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the T_UPLOAD_E_ORDER database table.
 * 
 */
@Entity
@Table(name="T_UPLOAD_E_ORDER")
@NamedQuery(name="UploadEOrder.findAll", query="SELECT u FROM UploadEOrder u")
public class UploadEOrder implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@SequenceGenerator(name="T_UploadEOrder_ID_GENERATOR" )
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="T_UploadEOrder_ID_GENERATOR")
	@Column(unique=true, nullable=false, precision=22)
	private long id;
	
	@Temporal(TemporalType.DATE)
	@Column(name="CREATE_TIME")
	private Date createTime;

	@Column(name="EXPRESS_FEE", length=20)
	private String expressFee;

	@Column(name="EXPRESS_NAME", length=30)
	private String expressName;

	@Column(name="EXTERNAL_ORDER_ID", length=30)
	private String externalOrderId;

	@Column(name="MERGE_STATE", length=20)
	private String mergeState;

	@Column(length=20)
	private String name;

	@Column(name="ORDER_CHANNEL", length=20)
	private String orderChannel;

	@Column(name="ORDER_CNT", length=20)
	private String orderCnt;

	@Column(name="ORDER_ID", length=30)
	private String orderId;

	@Column(name="ORDER_TYPE", length=20)
	private String orderType;

	@Column(name="USER_ID", precision=22)
	private BigDecimal userId;

	@Column(name="WAREHOUSE_NAME", length=20)
	private String warehouseName;

	public UploadEOrder() {
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getExpressFee() {
		return this.expressFee;
	}

	public void setExpressFee(String expressFee) {
		this.expressFee = expressFee;
	}

	public String getExpressName() {
		return this.expressName;
	}

	public void setExpressName(String expressName) {
		this.expressName = expressName;
	}

	public String getExternalOrderId() {
		return this.externalOrderId;
	}

	public void setExternalOrderId(String externalOrderId) {
		this.externalOrderId = externalOrderId;
	}

	public String getMergeState() {
		return this.mergeState;
	}

	public void setMergeState(String mergeState) {
		this.mergeState = mergeState;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOrderChannel() {
		return this.orderChannel;
	}

	public void setOrderChannel(String orderChannel) {
		this.orderChannel = orderChannel;
	}

	public String getOrderCnt() {
		return this.orderCnt;
	}

	public void setOrderCnt(String orderCnt) {
		this.orderCnt = orderCnt;
	}

	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderType() {
		return this.orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public BigDecimal getUserId() {
		return this.userId;
	}

	public void setUserId(BigDecimal userId) {
		this.userId = userId;
	}

	public String getWarehouseName() {
		return this.warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

}